package com.xr.oa.announce;

import com.bstek.dorado.data.*;
import com.bstek.dorado.data.db.SqlDataset;
import com.bstek.dorado.common.*;
import com.xr.common.CommUtil;

/**
 * announce_dataset_announce_modifyListener
 */
public class announce_dataset_announce_modifyListener extends AbstractDatasetListener {
  public boolean beforeLoadData(Dataset dataset)
     throws Exception {
		SqlDataset ds = (SqlDataset) dataset;
		String sql = ds.getSql()+" where 1=1 ";
		sql += CommUtil.setConditionSQL(ds);
		ds.setSql(sql);
    return true;
  }

}
